package me.spring.cloud.common.components.rpc.response;

import java.io.Serializable;
import me.spring.cloud.common.components.rpc.response.header.RespHeader;

public interface Response<T> extends Serializable {

  RespHeader getHeader();

  T getBody();

  void setHeader(RespHeader header);

  void setBody(T body);
}